﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace BaiTu.SessionServices
{
    /// <summary>
    /// Session 状态服务
    /// </summary>
    public class SessionService
    {
        /// <summary>
        /// 如果添加session的时候不指定SessionID 那么返回值就是sessionID值
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="entity"></param>
        /// <returns></returns>
        //public static string AddSession<T>(T entity)
        //{
        //    string sessionID = new RedisSessionIDManager().CreateSessionID(HttpContext.Current);
            
        //}
    }
}
